package com.four.reptile.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@TableName("tb_reptile")
public class Reptile {

    private static final long serialVersionUID = 1L;

    /**
     * 砍价商品ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    private String title;

    /**
     * 图片
     */
    private String img;

    /**
     * 金额
     */
    private BigDecimal price;

}
